package com.hurr.service;

import java.util.Collection;

import com.hurr.bo.Inversion;

/**
 * Service for Inversion logic
 * 
 * @author Fernand Perelli
 * 
 */
public interface InversionService {

	/**
	 * Save method
	 * 
	 * @param inversion
	 * @return Inversion
	 */
	public Inversion save(Inversion inversion);

	/**
	 * Update method
	 * 
	 * @param inversion
	 */
	public void update(Inversion inversion);

	/**
	 * Delete method
	 * 
	 * @param inversion
	 */
	public void delete(Inversion inversion);

	/**
	 * Find By Id method
	 * 
	 * @param id
	 * @return Inversion
	 */
	public Inversion findById(Long id);

	/**
	 * Find All method
	 * 
	 * @return Collection<Inversion>
	 */
	public Collection<Inversion> findAll();
}
